package com.project.movie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.movie.domain.MovieItem;
import com.project.movie.mapper.MovieItemMapper;
import com.project.movie.service.MovieItemService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 超级管理员
 * @version 1.0
 * @description: 电影service实现类
 * @date 2025/02/06 09:52
 */
@Service
public class MovieItemServiceImpl extends ServiceImpl<MovieItemMapper, MovieItem> implements MovieItemService {
    @Override
    public List<MovieItem> getMovieMoneyRank() {
        return baseMapper.getMovieMoneyRank();
    }

    @Override
    public List<MovieItem> getRecommandItem(List<String> recommendations) {
        return baseMapper.getRecommandItem(recommendations);
    }
}
